<template>
  <view class="flex">
    {{ likeNum }}
      <image
       v-if="likeNum == 2"
      src="@/static/index/icon_like.png"
      style="width: 48rpx;height: 48rpx;margin-right: 6rpx;"
      mode=""></image>
      <image
       v-else-if="likeNum == 1"
      src="@/static/index/icon_like1.png"
      style="width: 48rpx;height: 48rpx;margin-right: 6rpx;"
      mode=""></image>
  </view>
</template>
<script>
export default {
  name: 'commentCollentLike',
  props: {
    likeNum: {
      type: [Number, String],
      default: 1
    }
  }
}
</script>


<style scoped>
</style>